typedef struct {
	int parking[3];
} ParkingSystem;
ParkingSystem* parkingSystemCreate(int big, int medium, int small) {	
	ParkingSystem* obj = malloc(sizeof(ParkingSystem));
	obj->parking[0] = big;
	obj->parking[1] = medium;
	obj->parking[2] = small;
	return obj;
}
bool parkingSystemAddCar(ParkingSystem* obj, int carType) {
	if (obj->parking[carType - 1] == 0) {
		return false;
	}
	else {
		obj->parking[carType - 1]--;
		return true;
	}
}
void parkingSystemFree(ParkingSystem* obj) {
	free(obj);
}